Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.convert.preview.plugins--converter

This contribution is part of XML component org.nuxeo.ecm.platform.convert.preview.plugins inside nuxeo-platform-preview-7.10-HF07.jar /OSGI-INF/convert-service-contrib.xml

Extension Point

Extension point converter of component ConversionServiceImpl.

Contributed Items

  • <converter class="org.nuxeo.ecm.platform.preview.converters.HtmlPreviewConverter" name="any2html">
          <destinationMimeType>text/html</destinationMimeType>
    
          <sourceMimeType>application/pdf</sourceMimeType>
          <sourceMimeType>text/xml</sourceMimeType>
          <sourceMimeType>text/html</sourceMimeType>
          <sourceMimeType>text/plain</sourceMimeType>
          <sourceMimeType>text/rtf</sourceMimeType>
    
          <!-- Microsoft office documents -->
          <sourceMimeType>application/msword</sourceMimeType>
          <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
          <sourceMimeType>application/vnd.ms-excel</sourceMimeType>
    
          <!-- OpenOffice.org 1.x documents -->
          <sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.draw</sourceMimeType>
          <sourceMimeType>application/vnd.sun.xml.draw.template</sourceMimeType>
    
          <!-- OpenOffice.org 2.x documents -->
          <sourceMimeType>
            application/vnd.oasis.opendocument.spreadsheet
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.spreadsheet-template
          </sourceMimeType>
          <sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.text-template
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.presentation
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.presentation-template
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.graphics
          </sourceMimeType>
          <sourceMimeType>
            application/vnd.oasis.opendocument.graphics-template
          </sourceMimeType>
    
       </converter>

XML Source

<extension point="converter" target="org.nuxeo.ecm.core.convert.service.ConversionServiceImpl">

   <converter class="org.nuxeo.ecm.platform.preview.converters.HtmlPreviewConverter" name="any2html">
      <destinationMimeType>text/html</destinationMimeType>

      <sourceMimeType>application/pdf</sourceMimeType>
      <sourceMimeType>text/xml</sourceMimeType>
      <sourceMimeType>text/html</sourceMimeType>
      <sourceMimeType>text/plain</sourceMimeType>
      <sourceMimeType>text/rtf</sourceMimeType>

      <!-- Microsoft office documents -->
      <sourceMimeType>application/msword</sourceMimeType>
      <sourceMimeType>application/vnd.ms-powerpoint</sourceMimeType>
      <sourceMimeType>application/vnd.ms-excel</sourceMimeType>

      <!-- OpenOffice.org 1.x documents -->
      <sourceMimeType>application/vnd.sun.xml.writer</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.writer.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.impress.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.calc.template</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.draw</sourceMimeType>
      <sourceMimeType>application/vnd.sun.xml.draw.template</sourceMimeType>

      <!-- OpenOffice.org 2.x documents -->
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.spreadsheet-template
      </sourceMimeType>
      <sourceMimeType>application/vnd.oasis.opendocument.text</sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.text-template
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.presentation-template
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.graphics
      </sourceMimeType>
      <sourceMimeType>
        application/vnd.oasis.opendocument.graphics-template
      </sourceMimeType>

   </converter>

  </extension>